package CustomEvents
{
	import flash.events.Event;

	public class ViewEvent extends Event
	{
		
		public static const CHANGE_VIEW:String = "changeView";
		
		public function ViewEvent(type:String, view:Class, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			
			this.view = view;
		}
		
		public var view:Class;
		
		override public function clone():Event
		{
			return new ViewEvent(type, view, bubbles, cancelable);
		}
	}
}